package base;

import java.io.Serializable;

public class Timestamped <Thing> implements Serializable{
	private static final long serialVersionUID = 1L;
	public Thing thing;
	public long timestamp;
	
	public Timestamped(Thing thing, long timestamp) {
		this.thing = thing;
		this.timestamp = timestamp;
	}

	public String toString() {
		return timestamp + ":" + thing;
	}
}
